package com.jy.api.service;

import com.jy.api.domain.Material;
import com.jy.api.signUpReq.admin.MaterialSignUpReq;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by lihu on 2017/11/11.
 */
public interface MaterialService {


    void addMaterial(MaterialSignUpReq materialSignUpReq);


    Page<Material> getMaterial(String storeId, Pageable pageable);


    List<Material> searchCode(String storeId, String searchCode, Pageable pageable);
}
